package com.woniu.common.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class PageResult<T> {
    private int currentPage;       //当前页
    private int size;             //每一页的条数
    private long total;            //总条数
    private long totalPage;       //总页数
    private List<T> datas;              //当前页的数据
}
